package com.competition.commgr.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.competition.common.annotation.Excel;
import com.competition.common.core.domain.BaseEntity;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 报名审核对象 registration_review
 * 
 * @author cui
 * @date 2025-05-05
 */
@Data
public class RegistrationReview extends BaseEntity
{

    public RegistrationReview() {
    }
    public RegistrationReview(Long regId) {
        this.regId = regId;
    }

    public RegistrationReview( Long regId, String status, String step, Long reviewerId, String comments) {
        this.regId = regId;
        this.status = status;
        this.step = step;
        this.reviewerId = reviewerId;
        this.comments = comments;
    }

    private static final long serialVersionUID = 1L;

    /** 审核id */
    private Long reviewId;

    /** 报名id */
    @Excel(name = "报名id")
    private Long regId;

    /** 审核结果 */
    @Excel(name = "审核结果")
    private String status;

    /** 审核步骤 */
    @Excel(name = "审核步骤")
    private String step;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long reviewerId;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String comments;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date commitTime;
}
